package de.islanders.gameobject;

import de.islanders.world.Position;

public abstract class GameObject {
	public static int WEIGHT_INFINITE = -1;
	
	private String name;
	private double weight,
				   scaling;
	private Position position;
	
	public GameObject(String name, double weight, double scaling, Position position){
		this.name = name;
		this.weight = weight;
		this.scaling = scaling;
		this.position = position;
	}
	
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the scaling
	 */
	public double getScaling() {
		return scaling;
	}

	/**
	 * @param scaling the scaling to set
	 */
	public void setScaling(double scaling) {
		this.scaling = scaling;
	}

	/**
	 * @return the position
	 */
	public Position getPosition() {
		return position;
	}

	/**
	 * @param position the position to set
	 */
	public void setPosition(Position position) {
		this.position = position;
	}

	/**
	 * @return the weight
	 */
	public double getWeight() {
		return weight;
	}

	/**
	 * @param weight the weight to set
	 */
	public void setWeight(double weight) {
		this.weight = weight;
	}
	
	
}
